aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTe...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-06-24 18:41:38 +0100
committerMichael Williamson <mike@zwobble.org>2023-06-24 18:41:38 +0100
commit56a992c96740b647b7f6feb40ce0204aec0ff2c4 (patch)
tree51fa456eb81a193eeb3bffaca019413a7ecad9ea /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]
parent4f8c81e479b5e83bc301f04f01a12466f9e1edf2 (diff)
WASM binary format: support memory imports
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithMemoryImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected11
1 files changed, 11 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithMemoryImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithMemoryImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..7217d7c4
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithMemoryImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,11 @@
+
+module.wasm: file format wasm 0x1
+
+Section Details:
+
+Import[1]:
+ - memory[0] pages: initial=1 <- ModuleName1.EntityName1
+Custom:
+ - name: "name"
+
+Code Disassembly: